/*
 * Copyright 2008 - 2009 Lars Heuer (heuer[at]semagia.com). All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.semagia.atomico.server.feed.impl;

import java.util.List;

import com.semagia.atomico.dm.IAuthorAwareEntity;
import com.semagia.atomico.dm.IEntity;
import com.semagia.atomico.dm.ISummaryAwareEntity;

/**
 * A feed which provides read-only access to entries and to the author(s) of the
 * feed.
 * <p>
 * This interface does not support all features of Atom 1.0 since the Atom is
 * just one representation of a feed. Further the feed is meant to
 * be consumed by machines and not by humans, features like "atom:icon" etc.
 * are useless for machines.
 * </p>
 * 
 * @author Lars Heuer (heuer[at]semagia.com) <a href="http://www.semagia.com/">Semagia</a>
 * @version $Rev: 121 $ - $Date: 2010-11-06 14:56:03 +0000 (Sat, 06 Nov 2010) $
 */
interface IFeed<T> extends IEntity, ISummaryAwareEntity, IAuthorAwareEntity {

    /**
     * Returns a list of entries.
     *
     * @return The entries which belong to this feed.
     */
    public List<T> getEntries();

}
